libxl: Do not trust backend for channel in getinfo
authorIan Jackson <ian.jackson@eu.citrix.com>
Wed, 4 May 2016 14:57:10 +0000 (15:57 +0100)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Thu, 2 Jun 2016 14:53:29 +0000 (15:53 +0100)
commitb3a4560e96a654927a70722aad6a5f68ea2da3e8
tree5b85df0342f34084c3694e0a595255ab75f2c34f
parent3cc74772fdce99e2ad891fc280d5cfae068108f8
libxl: Do not trust backend for channel in getinfo

Do not read the frontend path out of the backend.  We have it in our
hand.  Likewise the guest (frontend) domid was one of our parameters (!)

This is part of XSA-178.

Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
Reviewed-by: Wei Liu <wei.liu2@citrix.com>
tools/libxl/libxl.c